<template>
<div class="layerRtb layerRtb-threecolumn">
    <three-title :title="{name:'时间类'}"></three-title>
    <div class="layerRtb-scroll thinScroll" v-scrollHeight = "0">
        <codemd url="Lesson5/docs/date.md"></codemd>
    </div>
</div>
</template>
<script>
import codemd from '../code-md'
export default {
    components: {
        codemd
    },
    data () {
        return {

        }
    },
    mounted () {
        console.log(this.$utils.format('yyyy-MM-dd hh:mm:ss')) // 2019-07-08 11:54:12
        console.log(this.$utils.format('yyyy-MM-dd')) // 2019-07-08
        console.log(this.$utils.format('yyyy-MM-dd', '2019/07/08')) // 2019-07-08
        console.log(this.$utils.format('yyyy-MM-dd hh:mm:ss', 1562557943588)) // 2019-07-08 11:52:23
    },
    methods: {

    }
}
</script>
